//
//  HttpHeader.h
//  rmipclient
//
//  Created by bob on 16/1/5.
//  Copyright © 2016年 bob. All rights reserved.
//

#import <Foundation/Foundation.h>

///HTTP头扩展定义
@interface HttpHeader : NSObject

///内容类型
@property(nonatomic,strong) NSString   *content_type;
///客户类型
@property(nonatomic,strong) NSString   *user_agent;
///安全认证
@property(nonatomic,strong)  NSString   *authorization;
///设备标示
@property(readonly,strong)  NSString   *imei;
///设备屏幕
@property(readonly,strong)  NSString   *size;
///设备令牌
@property(retain) NSString   *device_token;
///用户名称
@property(retain) NSString   *username;
///用户密码
@property(retain) NSString   *password;
///用户密码
@property(retain) NSString   *url;
///用户密码
@property(assign) NSInteger  authtype;

///检查http头信息是否有效
-(BOOL)checkvalid;

///设置auth,一般为登陆成功后设置
-(void)setAuth:(NSString*)username Password:(NSString*)password;

@end
